home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15915 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: munta.cs.mu.OZ.AU!fjh
  2. From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 8 Apr 1996 19:58:50 GMT
  6. Organization: Comp Sci, University of Melbourne
  7. Message-ID: <4kbr5q$j1l@mulga.cs.mu.OZ.AU>
  8. References: <JSA.96Feb16135027@organon.com> <dewar.828757752@schonberg> <danpop.828819479@rscernix> <dewar.828879781@schonberg> <4k9qhe$65r@solutions.solon.com> <dewar.828936837@schonberg> <828964950snz@genesis.demon.co.uk> <4kbfup$2vd@news1.mnsinc.com> <4kbl5i$p3@mordred.gatech.edu>
  9. NNTP-Posting-Host: munta.cs.mu.oz.au
  10.  
  11. james@amber.biology.gatech.edu (James McIninch) writes:
  12.  
  13. >Szu-Wen Huang (huang@mnsinc.com) wrote:
  14. >: Shouldn't true portability mean that even bugs are cross-platform and
  15. >: fail reliably?  ;)
  16. >
  17. >No.
  18.  
  19. I strongly disagree -- Szu-Wen Huang is right.
  20.  
  21. >When it says "undefined", it means "undefined". There's no way to make
  22. >undefined behavior portable, that's why it's undefined.
  23.  
  24. Nope, you've got cause and effect backwards.  There's no way to make
  25. undefined behavior portable *because* it is undefined.  If a language
  26. has constructs with undefined behaviour, this will lead to portability
  27. problems.  But some languages have fewer areas of undefined behaviour
  28. than others.  Some languages don't have any undefined behaviour at
  29. all.
  30.  
  31. --
  32. Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
  33. WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
  34. PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
  35.